package cn.lycode.common.core.domain;

import cn.lycode.common.enums.TrueFalseEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Title: BaseEntity
 * @Author lyCode
 * @Date 2024/5/18 13:58
 * @description: Entity基类
 */
@Data
public class BaseEntity {
    private static final long serialVersionUID = 1L;

    private TrueFalseEnum isDisable;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private String updateBy;
    private TrueFalseEnum delFlag;
    private String delBy;
    private String remark;
}
